package com.info.zhiduoduo.core.service.payment.project;

import com.info.zhiduoduo.common.constants.SmartResult;
import com.info.zhiduoduo.repository.entity.company.CompanyPayment;
import com.info.zhiduoduo.repository.entity.company.CompanyProject;
import com.info.zhiduoduo.repository.entity.order.TradeRecord;

/**
 * 基础支付逻辑, 空实现
 */
public class BaseProjectPaymentService implements ProjectPaymentService {

	@Override
	public void deductCompanyBalanceForPublishProject(CompanyPayment companyPayment, CompanyProject project) {

	}

	@Override
	public SmartResult handlePayment(CompanyProject project) {
		return SmartResult.success();
	}

	@Override
	public SmartResult handlePayUser(CompanyProject project) {
		return SmartResult.success();
	}

	@Override
	public void doAfterPayUserTradeSucceed(CompanyProject project, TradeRecord trade) {

	}

	@Override
	public SmartResult handlePayJiugeCharge(CompanyProject project) {
		return SmartResult.success();
	}

	@Override
	public void doAfterPayJiugeTradeSucceed(CompanyProject project, TradeRecord trade) {

	}
}
